package nc.ui.bdf.bdf_d1hf;

import nc.pub.zip.IBillButton;
import nc.ui.bdf.pub.btn.CsButtonVO;
import nc.ui.trade.bill.ISingleController;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.zip.manage.AbstractController;
import nc.vo.bdf.bdf_d1hf.MDPPVO;
import nc.vo.bdf.bdf_pub.PubBillVO;
import nc.vo.trade.pub.HYBillVO;

public class PPEditController extends AbstractController  implements ISingleController{

	
	public int[] getCardButtonAry() {
		// TODO Auto-generated method stub
		return new int[] {
				IBillButton.Query,//
				IBillButton.Edit,
				IBillButton.Save,
				IBillButton.Cancel,
//				IBillButton.Delete,
				IBillButton.Refresh,
				IBillButton.Return,
				IBillButton.Commit,
				IBillButton.CANCELCOMMIT_NO,
				IBillButton.Audit,
				IBillButton.CancelAudit,
				IBillButton.ApproveInfo,
		};

	}

	public String getBillType() {
		return "D1HP";
	}

	public String[] getBillVoName() {
		return new String[] {
				PubBillVO.class.getName(),
//				HYBillVO.class.getName(),//
				MDPPVO.class.getName(),
				MDPPVO.class.getName()

		};
	}

	public int[] getListButtonAry() {
		// TODO Auto-generated method stub
		return new int[] {
				IBillButton.Query,//
				IBillButton.Edit,
				IBillButton.Save,
				IBillButton.Cancel,
//				IBillButton.Delete,
				IBillButton.Refresh,
				IBillButton.Card,
				IBillButton.Commit,
				IBillButton.CANCELCOMMIT_NO,
				IBillButton.Audit,
				IBillButton.CancelAudit,
				IBillButton.ApproveInfo,
				CsButtonVO.BTN_NO
		};

	}
	
	public boolean isSingleDetail() {
		// TODO Auto-generated method stub
		return false;
	}
	
	public int getBusinessActionType() {
		return IBusinessActionType.PLATFORM;
	}

}
